core: Print which xattrs are not sorted
authorColin Walters <walters@verbum.org>
Tue, 25 Feb 2025 18:19:27 +0000 (13:19 -0500)
committerColin Walters <walters@verbum.org>
Tue, 25 Feb 2025 19:58:35 +0000 (14:58 -0500)
commitab9a3b02a92eda0fbed5025ff168de0ed8634dbb
treef97104afb25619abdaeec8ee62118a3e897958b5
parent82b660b12dd886439912cc38d1f6316f32ec8599
core: Print which xattrs are not sorted

I hit this in the rpm-ostree rechunker flow somehow
and with this change I now get:

`error: Generating commit from rootfs: Processing dir var: Writing content object: Incorrectly sorted xattr name (prev=user.Librepo.checksum.mtime, cur=security.selinux), index=2`

which is more useful, although I still need to figure out
and fix why that's happening (again?).

Signed-off-by: Colin Walters <walters@verbum.org>
src/libostree/ostree-core.c